<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<style type="text/css">
	body{
		perspective: 100px;
	}
		div{
			width: 300px;
			height: 300px;
			transform-style:preserve-3d ;
			background: red;
			transition: 1s;
			margin:500px auto;
		}
		div:hover{
			transform: rotateY(180deg);
		}
	</style>
	<body>
		<div>
			
		</div>
	</body>
</html>
